package com.lanchetech.dao;

import com.lanchetech.entity.SpuCommission;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SpuCommissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SpuCommission record);

    int insert2(SpuCommission record);

    int insertSelective(SpuCommission record);

    SpuCommission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SpuCommission record);

    int updateByPrimaryKey(SpuCommission record);

    int updateBatch(List<SpuCommission> list);

    int updateBatchSelective(List<SpuCommission> list);

    int batchInsert(@Param("list") List<SpuCommission> list);

    List<SpuCommission> findAllBySpuIds(@Param("spuIds") List<Long> spuIds);

    SpuCommission findOneBySpuId(@Param("spuId") Long spuId);
}